package com.jingdianjichi.subject.infra.basic.mapper;

import com.jingdianjichi.subject.infra.basic.entity.SubjectMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 20432
* @description 针对表【subject_mapping(题目)】的数据库操作Mapper
* @createDate 2025-10-03 16:36:38
* @Entity com.jingdianjichi.subject.basic.entity.SubjectMapping
*/
public interface SubjectMappingMapper extends BaseMapper<SubjectMapping> {


    List<SubjectMapping> queryLabelIdsByCategory(SubjectMapping subjectMapping);

    List<Long> pageQuery(@Param("labelId") Long labelId, @Param("categoryId") Long categoryId);

    int insertBatch(@Param("subjectMappingList") List<SubjectMapping> subjectMappingList);

}




